from django.urls import path
from  apps.users.views import UserNameCountView

urlpatterns = [
    # 用户名是否重复，路径需要加入转换器 uname:限定用户名的范围
    path('usernames/<uname:username>/count/', UserNameCountView.as_view()),
]